//
//  MeMainTableViewCell.m
//  RainbowFM
//
//  Created by jv on 14-12-6.
//  Copyright (c) 2014年 RB. All rights reserved.
//

#import "MeMainTableViewCell.h"

#define N_Font_Color ([UIColor colorWithRed:0.474510F green:0.474510F blue:0.474510F alpha:1.0F])
#define P_Font_Color ([UIColor colorWithRed:0.890196F green:0.290196F blue:0.274510F alpha:1.0F])


@implementation MeMainTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


#pragma mark - setter

- (void)setIsFoucesd:(BOOL)isFoucesd
{
    _isFoucesd = isFoucesd;
    
    
    if (_isFoucesd) {
        _infoLabel.textColor = P_Font_Color;
    }else{
        _infoLabel.textColor = N_Font_Color;
        _bgImageView.image = nil;
    }
    
    _leftImageView.hidden = !_isFoucesd;
}


@end
